home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005 / CHIP Utilities 2005.iso / dosapps / fprot / command.txt < prev    next >
Encoding:
Text File  |  2004-03-10  |  5.9 KB  |  184 lines

  1.                         The command-line options
  2.  
  3. F-PROT.EXE is usually run without any parameters and will then enter
  4. interactive mode, but if the /HARD option is used, or a drive, file or
  5. directory is specified, it will enter command-line mode.
  6.  
  7. Syntax for command-line mode:  F-PROT [drive, file or directory] [options]
  8.  
  9. The available command-line options are
  10.  
  11. /APPEND
  12. Appends the report to an existing file (Only used with /REPORT).
  13.  
  14. /ARCHIVE=n
  15. Scans inside .ARJ, .CAB, .LZH and .ZIP archives.  F-PROT currently
  16. supports only RAR archives created by RAR 2.5 and older - support for
  17. RAR 3.0 will be added soon.  The parameter n specifies how many levels
  18. (archives inside archives) to scan.
  19.  
  20. /AUTO
  21. May be specified with /DISINF, /DELETE or /RENAME so F-PROT will not
  22. request permission before rremoving each virus.
  23.  
  24. /BEEP
  25. Produces an annoying beep when a virus is found.  NOT recommended when
  26. scanning a virus collection.
  27.  
  28. /COLLECT
  29. Assumes what is being scanned is a virus collection, where viruses might be
  30. found in "abnormal" locations.  In particular, selecting this option will
  31. enable detection of file images of boot sector viruses.  This switch also 
  32. provides the same features as the old /GURU option.  Note that using /COLLECT
  33. will slow down the scan.
  34.  
  35. /DELETE
  36. Deletes infected files.
  37.  
  38. /DISINF
  39. Disinfects whenever possible.  It is possible to specify the following
  40. combinations of switches:
  41.  
  42.     /DISINF /DELETE
  43.         Disinfects when possible, otherwise deletes infected files.
  44.  
  45.     /DISINF /RENAME
  46.         Disinfects when possible, otherwise attempts to rename infected COM/EXE 
  47.         files to VOM/VXE.
  48.  
  49.     /DISINF /RENAME /DELETE
  50.         Disinfects when possible, otherwise attempts to rename infected COM/EXE
  51.         files to VOM/VXE, but if that fails the files are deleted.
  52.  
  53. /DUMB
  54. Does a "dumb" scan of all files.  This option is often not necessary, 
  55. and /TYPE can be used instead.  The only cases where it might be needed are 
  56. the following:
  57.  
  58.     If you are scanning a virus collection, where infected files have
  59.     non-standard extensions, such as .VOM instead of .COM, they will not
  60.     be scanned for viruses, unless this switch is specified.
  61.  
  62.     If you are cleaning up a virus infection you should use this
  63.     switch.
  64.  
  65. /EXT
  66. By default F-PROT will open every file and try to determine its type,
  67. so it will for example scan Word files, even if they do not use a DOC/DOT
  68. extension.  By using /EXT the scanning can be speeded up slightly as F-PROT
  69. will then only scan files with "default" extensions.
  70.  
  71. /FREEZE
  72. "Freezes" the program if a virus is found anywhere.
  73.  
  74. /HARD
  75. Scans all files on all hard disks in the computer.
  76.  
  77. /HELP
  78. Displays the list of command-line options.
  79.  
  80. /INTER
  81. Forces the program to enter interactive mode, even when a path, directory
  82. or file name is given on the command line.
  83.  
  84. /LIST
  85. Lists all files that are scanned.
  86.  
  87. /LOADDEF
  88. Load the DEF files into memory.
  89.  
  90. /NOBOOT
  91. Does not scan boot sectors.
  92.  
  93. /NOBREAK
  94. Disables ESC and ^C during scanning.
  95.  
  96. /NOFILE
  97. Does not scan files.  Only useful if you cleaning up a boot sector infection
  98. and do not want to spend unnecessary time scanning files.
  99.  
  100. /NOFLOPPY
  101. For use on systems without floppy drives.
  102.  
  103. /NOHEUR
  104. Version 3 has a smaller, more reliable set of heuristics than version 2,
  105. but they are enabled by default, unlike version 2.  This option allows
  106. you to turn the heuristics off.
  107.  
  108. /NOMEM
  109. Does not scan memory for viruses.  Not recommended, unless you are
  110. absolutely certain that no viruses are present in memory.
  111.  
  112. /NOSUB
  113. Does not scan subdirectories.
  114.  
  115. /PACKED
  116. Scans "inside" various types of compressed executables (PKLITE for
  117. example), by emulating the execution of the decompressor.  As this option
  118. can slow the scan down significantly, we only recommend using it when
  119. scanning new software before installation.
  120.  
  121. /PAGE
  122. Pauses after each page (command-line mode only).
  123.  
  124. /REMOVEALL
  125. Removes all macros from all documents.  Useful if you encounter a new
  126. macro virus, and you know that the document did not contain any macros
  127. before it got infected.
  128.  
  129. /REMOVENEW
  130. If a new variant of a macro virus is found in a document, all macros are
  131. removed from that particular document.
  132.  
  133. /RENAME
  134. Renames infected COM/EXE files to VOM/VXE.  If files with those
  135. extensions already exist, .VVV  is used instead.  Infected document files
  136. are not renamed, as that would be pointless - they would be equally
  137. infectious afterwards.
  138.  
  139. /REPORT=file
  140. Sends the output to a file, in addition to displaying it on the screen.
  141.  
  142. /SAFEREMOVE
  143. Removes all macros from documents, if a known virus is found.
  144.  
  145. /SERVER
  146. Enable mail-server heuristics.  Will for example complain about encrypted
  147. executables inside archives.
  148.  
  149. /SILENT
  150. Does not generate any screen output (command-line mode only).
  151.  
  152. /TYPE
  153. Scan every file, but skip those which do not seem to contain executable 
  154. code.  This is faster than /DUMB but less thorough.
  155.  
  156. /VIRLIST
  157. Produces a list of known viruses, as well as information on whether they
  158. can be disinfected.
  159.  
  160. /VIRNO
  161. Counts the known viruses and reports the total.
  162.  
  163. /WRAP
  164. Wraps text so the report fits in 78 columns.
  165.  
  166.  
  167. The program uses the following exit codes, which can be checked with the
  168. ERRORLEVEL command from a BAT file.
  169.  
  170.     0 - Normal exit - nothing found
  171.     1 - Abnormal termination - unrecoverable error.  This can mean any of
  172.         the following:
  173.             Internal error in the program.
  174.             DOS version prior to 3.0 was used.
  175.             ENGLISH.TX0, SIGN.DEF or MACRO.DEF corrupted or not present.
  176.     2 - Selftest failed - program has been modified.
  177.     3 - A Boot/File virus infection found.
  178.     4 - Virus found in memory.
  179.     5 - Program terminated with ^C or ESC.
  180.     6 - A virus was removed.  This code is only meaningful if
  181.         the program is used to scan just a single file.
  182.     7 - Insufficient memory to run the program.
  183.     8 - At least one suspicious file was found, but no infections.
  184.